package yl.hs.bmipfull.pojo.equipment;

import lombok.Data;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/*
 * RepairEntity
 * @category
 * @author 谢景广
 * @date 2022-11-15
 */
@DBTable(mapCode = "equipment_repair",disName = "设备维修信息")
@Data
public class DeviceRepairEntity extends BaseEntity {
    private Long id;
    @DBField(mapCode ="sn",isSerialNumber = true,disName = "编号",snPrefix = "DERE")
    private String sn;
    private String equipmentSN;
    @DBField( disName = "设备名称",mapCode = "equipmentName")
    private String equipmentName;
    @DBField( disName = "维修时间",mapCode = "repairTime")
    private Date repairTime;
    private String handlerSN;
    @DBField( disName = "维修人员",mapCode = "handlerName")
    private String handlerName;
    @DBField( disName = "维修项目",mapCode = "items")
    private String items;
    private BigDecimal fees = BigDecimal.ZERO;
    @DBField( disName = "备注",mapCode = "remark")
    private String remark;
    private int state;
}
